package com.platform.qujia.service;

import com.platform.qujia.param.request.PayOrderRequest;
import com.platform.qujia.pojo.PayOrder;
import com.platform.qujia.pojo.vo.PayOrderVO;
import com.platform.qujia.pojo.vo.StoredCardVO;

import java.util.List;

/**
 * 会员列表消费扣减service
 * @date 2023/10/16
 */
public interface AppUserOrderService {

    /**
     * 创建订单
     * @param request
     * @return
     */
    PayOrderVO createOrder(PayOrderRequest request);

    /**
     * 更新订单
     * @param request
     * @return
     */
    PayOrderVO updateOrder(PayOrderRequest request);

    /**
     * 支付
     * @param request
     */
    void pay(PayOrderRequest request);

    List<StoredCardVO> queryStoredCardVOList(PayOrderRequest request);
}
